﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>Balas & Bolinhos</title>
    <link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Styles.Render("~/Content/themes/base/css")
    @Scripts.Render("~/bundles/modernizr")
    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/jqueryui")
    @*@Scripts.Render("~/bundles/jqueryval")*@
    <script src="../../Code/Common.js" type="text/javascript"></script>
    <script src="../../Code/Admin.js" type="text/javascript"></script>
    <script src="../../Scripts/Highcharts-3.0.1/js/highcharts.js" type="text/javascript"></script>
    <script src="../../Scripts/Highcharts-3.0.1/js/highcharts-more.js" type="text/javascript"></script>
    @RenderSection("scripts", required: false)
</head>
<body>
    <div id="main">
        <header>
            <div id="header">
                <div id="logo">
                    <div id="logo_text">
                        <!-- class="logo_colour", allows you to change the colour of the text -->
                        <h1>
                            <a href="#">Balas &<span class="logo_colour"> Bolinhos</span></a>
                        </h1>
                        <h2>A meta é a camisola amarela!</h2>
                    </div>
                </div>
                <div id="menubar">
                    <ul id="menu">
                        <li id="liHome">@Html.ActionLink("Home", "Index", "Home")</li>
                        <li id="liRegisto">@Html.ActionLink("Competicoes", "Index", "Registo")</li>
                        <li id="liAposta">@Html.ActionLink("Apostas", "Index", "Aposta")</li>
                        <li id="liClassificacao">@Html.ActionLink("Classificacao", "Index", "Classificacao")</li>
                        <li id="liEstatisticas">@Html.ActionLink("Estatisticas", "Index", "Estatistica")</li>
                        @if (Request.IsAuthenticated && Roles.IsUserInRole("Administrator"))
                        {
                            <li id="liAdmin">@Html.ActionLink("Admin", "Index", "Admin")</li>                          
                        }
                        <li id="liAbout">@Html.ActionLink("About", "About", "Home")</li>
                        <li id="liContact">@Html.ActionLink("Contact", "Contact", "Home")</li>
                    </ul>
                </div>
            </div>
        </header>
        <div id="body">
            <div id="site_content">
                <div class="sidebar">
                    <h1>Utilizador</h1>
                    @Html.Partial("_LoginPartial")
                    @if (Request.IsAuthenticated)
                    {
                        <h1>Noticias</h1>
                        @Html.Action("GetNoticia", "Home")
                    }
                    <h1>Links Uteis</h1>
                    <ul>
                        <li><a class="linkFacebook" href="https://www.facebook.com/groups/309123972441/">Facebook
                            Balas</a> </li>
                        <li><a class="linkEmail" href="mailto:balas.bolinhos@hotmail.com">E-mail Balas</a>
                        </li>
                    </ul>
                </div>
                <div id="content">
                    <noscript>
                        <div>
                            <h2>This site requires JavaScript</h2>
                        </div>
                    </noscript>
                    @RenderSection("featured", required: false)
                    @RenderBody()
                </div>
            </div>
            <footer>
                <div id="footer">
                    <p>
                        @Html.ActionLink("Home", "Index", "Home") |
                        @Html.ActionLink("Competicoes", "Index", "Registo") |
                        @Html.ActionLink("Apostas", "Index", "Aposta") |
                        @Html.ActionLink("Classificacao", "Index", "Classificacao") |
                        @Html.ActionLink("Estatisticas", "Index", "Estatistica")
                    </p>
                    <p>
                        Copyright &copy; Balas & Bolinhos
                    </p>
                    <p>
                        &copy; @DateTime.Now.Year - My ASP.NET MVC Application
                    </p>
                </div>
                @Html.Partial("_ViewSwitcher")
            </footer>
        </div>
    </div>
    <!-- #region Ajax Process Indicator -->
    <div id="ProcessFilter">
    </div>
    <div id="ProcessMessage">
        Por Favor Aguarde...
        <br />
        <img alt="Loading" src="../../Images/spinner.gif" />
    </div>
    <!-- #endregion Ajax Process Indicator -->
</body>
</html>
